Add (somewhat bogus) bushnell trail writer test.
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 28 Feb 2013 21:33:29 +0000 (21:33 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Thu, 28 Feb 2013 21:33:29 +0000 (21:33 +0000)
gpsbabel/testo.d/bushnell.test

index 3b40afba51d6b298fc2e48a433e79d84a2a9c948..dc6b64ff7a88dda8baf16dc1457edbd314362e15 100644 (file)
@@ -7,5 +7,10 @@ compare ${REFERENCE}/bushnell.gpx ${TMPDIR}/bushnell.gpx
 gpsbabel -i bushnell -f ${REFERENCE}/bushnell.wpt -o bushnell -F ${TMPDIR}/bushnell
 bincompare ${REFERENCE}/bushnell.wpt ${TMPDIR}/bushnell-0.wpt
 
-gpsbabel -i bushnell_trl -f ${REFERENCE}/bushnell_trl.trl -o gpx -F ${TMPDIR}/bushnell_trl.gpx
+gpsbabel -i bushnell_trl -f ${REFERENCE}/bushnell_trl.trl -o gpx -F ${TMPDIR}/bushnell_trl.gpx -o bushnell_trl -F ${TMPDIR}/bush_trl.trl
 compare ${REFERENCE}/bushnell_trl.gpx ${TMPDIR}/bushnell_trl.gpx
+
+# Because of numeric instability, we don't actually do the compare, but there's
+# value just in spinning through the writer.
+gpsbabel -i bushnell_trl -f ${TMPDIR}/bush_trl.trl -o gpx -F ${TMPDIR}/bush~gpx.gpx
+# compare ${REFERENCE}/bushnell_trl.gpx ${TMPDIR}/bush~gpx.gpx